package com.hilon.segment.jpa.controller;

import com.hilon.base.controller.BaseController;
import com.hilon.segment.jpa.entity.BomMain;
import com.hilon.segment.jpa.service.BomMainService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/bom-main")
public class BomMainController extends BaseController<BomMain> {
   private final BomMainService bomMainService;


    public BomMainController(BomMainService bomMainService) {
        this.bomMainService = bomMainService;
        super.buildEntityHandleService(bomMainService);
    }
}
